import request from '@/utils/request';

export function addSetmeal(data) {
	return request({
		url: '/mall/storeSetmeal/add',
		method: 'post',
		data: data,
	});
}
export function delSetmeal(id) {
	return request({
		url: '/mall/storeSetmeal/remove',
		method: 'post',
		data: { id: id },
	});
}

export const getSetmeal = (data) => {
	return request({
		url: '/mall/storeSetmeal/list',
		method: 'post',
		data: data,
	});
};

export const getAdminSetmealList = (data) => {
	return request({
		url: '/mall/storeSetmeal/adminSetmealList',
		method: 'post',
		data: data,
	});
};
